package com.vpclub.service;

import com.vpclub.dao.BookDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author : leimingchao
 * @version V1.0
 * @Project: springdemo
 * @Package com.vpclub.service
 * @Description: TODO
 * @date Date : 2021年05月30日 19:27
 */
@Service
public class BookService {

    // @Autowired
    @Resource
    private BookDao bookDao;

    public void save() {
        System.out.println("bookService...正在调用dao帮你保存图书。。。。");
        bookDao.saveBook();
    }
}
